/*
 * @Author: liqiang liqiang@hacint.com.cn
 * @Date: 2023-08-19 13:23:22
 * @LastEditors: liqiang liqiang@hacint.com.cn
 * @LastEditTime: 2023-08-20 11:02:11
 * @FilePath: \USERf:\WorkTest\WireTest4096\PIM4096MotherBoard\WireTest4096 V1.01.01\MidWare\PCCommand\PCCommand.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: liqiang liqiang@hacint.com.cn
 * @Date: 2023-08-19 13:23:22
 * @LastEditors: liqiang liqiang@hacint.com.cn
 * @LastEditTime: 2023-08-19 13:54:13
 * @FilePath: \USERf:\WorkTest\WireTest4096\PIM4096MotherBoard\WireTest4096 V1.01.01\MidWare\DataTable\PCCommand.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * @file PCCommand.h
 * @author liqiang (liqiang@hacint.com.cn)
 * @brief 
 * @version 1.0.0
 * @date 2023-08-19
 * 
 * 包含PC上位机指令
 */

#ifndef _PC_COMMAND_H
#define _PC_COMMAND_H
 
typedef enum    {
        PC_CMD_SCAN_START = 1,             /*1开始扫描*/
        PC_CMD_SCAN_ACCESSORY_START,       /*2附件扫描*/
        PC_CMD_ALL_SCAN_STOP,              /*3所有扫描停止*/
        PC_CMD_SELFCHECK,                  /*4自检*/
        PC_CMD_SELFCHECK_QUICK,            /*5快速自检*/
        PC_CMD_READ_ENDPIN_FREE,           /*6自由读终止针数据*/
        PC_CMD_READ_ENDPIN_CURRENT,        /*7读当前终止针数据*/
        PC_CMD_SCAN_EMPTY_START_PIN,       /*8扫描所有空点*/
        PC_CMD_SCAN_ENDPIN,                /*9扫描终止针*/
        PC_CMD_RESET_DATA,                 /*10复位数据：*/
        PC_CMD_RESET_PHY_PIN,              /*11复位物理针*/  
        PC_CMD_SCAN_PROBE,                 /*12扫描中探点*/
        PC_CMD_RESET_ALL,                  /*13复位all：含数据和物理针*/
        PC_CMD_READ_DATA_TOTAL_COMPRESS,   /*14读取所有压缩数据*/
        PC_CMD_SET_ONE_PIN_OR_ONE_LOOP,    /*15设置一针，或一个附件对*/
        PC_CMD_SCAN_LED_START_PIN          /*16点亮诱导灯*/
}PCCMD_StateTypeDef;


typedef struct  {
         unsigned        int    status  ;    /*1:有效   0：无效*/   
        PCCMD_StateTypeDef      name;   

}PCCommand_Type;





/**unity test*/
void	Test_Get_Bit32(void);
void    TEST_CONVERT_PCCMD_FROM_INT(void);
#endif
